﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MyBank
{
    public partial class reg : Form
    {
        public reg()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            CurrentAccount.sql.InsertValues("Account", new string[] { textBox1.Text, textBox2.Text, textBox3.Text, "0", textBox4.Text,"0" });
            MessageBox.Show("注册成功！！");
        }
    }
}
